<include file="Public:pageheader" />
<div class="content-box">
	<div class="content-box-header">
	<h3>{%set_privilege}</h3>
	<div class="clear"></div>
	</div>
	<div class="content-box-content">
		<form action="__URL__/setPrivileges" method="post">
			<fieldset>
			<p>
			<label>{%select_privilege}</label>
			<table width="100%">
			<volist name="nodes" id="node">
			<tr>
			<td width="150px"><input type="checkbox" name="nodes_id[]" value="{$node.id}" <if condition="$role_access_list[$node['id']] eq $node['id']">checked="checked"</if> /><strong>{$node.title}</strong></td>
			<td>
			<volist name="node['child']" id="child">
			<div style="width: 150px; float:left">
			<input type="checkbox" name="nodes_id[]" value="{$child.id}" <if condition="$role_access_list[$child['id']] eq $child['id']">checked="checked"</if>/>{$child.title}
			</div>
			</volist>
			</td>
			</tr>
			</volist>
			</table>
			</p>
			<p>
				<input type="hidden" name="role_id" value="{$role_id}" />
				<input class="button" type="reset" value="{%reset}" />
				<input class="button" type="submit" value="{%submit}" />
			</p>
			</fieldset>
		</form>
	</div>
</div>
<include file="Public:footer"/>